DateTimeInterval.sizeOfTypeBetween Method
Gets the size of the interval between start and end
in units of type.
This method is static.
Parameters
- start
-
Type: Date
The start of the interval.
- end
-
Type: Date
The end of the interval.
- type
-
Type: DateTimeIntervalType
The type of interval to calculate.
Return Value
Type: Number
The size of the interval.